define(["require", "exports", "share/common"], function (require, exports, common_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    let templates = [
        {
            id: `2CD52FAD-AA6A-4FEE-960F-67111EE620BC`,
            controls: [
                {
                    controlId: common_1.guid(), controlName: 'html', position: 'view',
                    selected: 'disabled', save: false, data: {
                        html: `<h3 class="text-center" style="margin-top:200px;">空白模板</h3>`
                    }
                }
            ]
        },
        {
            id: `3A28E7C5-D0A9-4248-847D-EFC58DE643A3`,
            controls: [
                viewControl('summaryHeader'),
                viewControl('productList', {
                    productsCount: 6
                }),
            ]
        },
        {
            id: `AD57D915-DD55-4681-A6C4-6402C1544884`,
            controls: [
                headerControl('locationBar'),
                viewControl('productList', {
                    productsCount: 6,
                    listType: 'singleColumn'
                }),
                footerControl('shoppingCartBar')
            ]
        }
    ];
    function viewControl(controlName, data, save) {
        return {
            controlId: common_1.guid(),
            controlName,
            position: 'view',
            data,
            save,
        };
    }
    function footerControl(controlName) {
        return {
            controlId: common_1.guid(),
            controlName,
            position: 'footer'
        };
    }
    function headerControl(controlName) {
        return {
            controlId: common_1.guid(),
            controlName,
            position: 'header'
        };
    }
    exports.default = templates;
});
